<?php
class shop_flashModel extends model{
	public $base;
	function __construct(&$base){
		parent::__construct($base);
		$this->base=$base;
		$this->table="shop_flash";	
	}
	
	public function get($shopid,$limit=4){
		$option=array(
			"where"=>" shopid=".$shopid."",
			"limit"=>4,
			"order"=>" orderindex asc"
		);
		return $this->select($option);
		 
	}
}
?>